package cn.iocoder.yudao.module.cdk.controller.admin.cdklog.vo;

import cn.iocoder.yudao.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - cdk登录日志分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class CdklogPageReqVO extends PageParam {

    @Schema(description = "登录时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] logintime;

    @Schema(description = "是哪个cdk绑定记录", example = "5960")
    private Integer cdkCdkuserid;

    @Schema(description = "离开会话时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] exittime;

    @Schema(description = "登录的imei")
    private String imei;

    @Schema(description = "登录的mac")
    private String mac;

    @Schema(description = "登录的ip")
    private String ip;

    @Schema(description = "登录使用的cdk")
    private String cdk;

    @Schema(description = "登录的qq")
    private String qq;

    @Schema(description = "登录的phone")
    private String phone;

    @Schema(description = "登录的名字", example = "张三")
    private String username;

}